﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KeMei.Common;

public partial class EncryString : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
           // txt1.Text = "Provider=Microsoft.Jet.OleDb.4.0;Jet OLEDB:Database Password=;Data Source=|DataDirectory|\KeMei.mdb";
        }
    }
    protected void btnEncry_Click(object sender, EventArgs e)
    {
        txt2.Text = DESEncrypt.Encrypt(txt1.Text.Trim());
    }
}